﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace HRMSystem.Wpf.WpfWindow
{
    /// <summary>
    /// Interaction logic for ErrorWindow.xaml
    /// </summary>
    /// 


    public partial class MessageWindow : Window
    {

        public MessageWindow(String Title, String Message)
        {
            InitializeComponent();
            ResizeMode = ResizeMode.NoResize;
            ConfirmMessage.Content = Message;
            this.Title = Title;
        }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            this.Close();  
        }
    }
}
